<template>
	<view class="u-p-40">
		<text>长按识别或者点开二维码图片，打开小程序，开通相应的账号门禁功能</text>
		
		<view class="flex-center u-m-tb-20">
			授权小区：{{info.address}}
		</view>
		<view class="flex-center u-m-tb-20">
			授权类型：{{info.role_name}}
		</view>
		<!-- <view class="flex-center">
			备注：
		</view> -->
		<view class="u-m-tb-34 flex-center">
			<image :src="info.code_url" class="w500 h500" mode=""></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info:{}
			};
		},
		onLoad(op) {
			this.$api.get('/user_house/qr_result',{id:op.id}).then(res=>{
				this.info = res.data
			})
		}
	}
</script>

<style lang="scss">

</style>
